home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / C-D / DeveloperStax.cpt / Developer Stack 1.1 / background_13187.txt < prev    next >
Text File  |  1989-02-26  |  6KB  |  254 lines

  1. -- background: 13187 from stack: in.1
  2. -- bmap block id: 4585
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: Scripts
  6. ----- HyperTalk script -----
  7. on opencard
  8.   put (the number of this card - the number of first card of this background+1) into field "PageNumber"
  9.   set scroll of field description to 0
  10. end opencard
  11.  
  12.  
  13.  
  14. -- part 1 (button)
  15. -- low flags: 00
  16. -- high flags: 2000
  17. -- rect: left=456 top=301 right=329 bottom=493
  18. -- title width / last selected line: 0
  19. -- icon id / first selected line: 11645 / 11645
  20. -- text alignment: 1
  21. -- font id: 0
  22. -- text size: 12
  23. -- style flags: 0
  24. -- line height: 16
  25. -- part name: Return
  26. ----- HyperTalk script -----
  27. on mouseUp
  28.   if the optionkey is down then pass mouseup
  29.   visual effect iris close
  30.   go first card
  31. end mouseUp
  32.  
  33.  
  34.  
  35. -- part 2 (field)
  36. -- low flags: 01
  37. -- high flags: 0000
  38. -- rect: left=54 top=23 right=56 bottom=365
  39. -- title width / last selected line: 0
  40. -- icon id / first selected line: 0 / 0
  41. -- text alignment: 0
  42. -- font id: 2
  43. -- text size: 24
  44. -- style flags: 0
  45. -- line height: 32
  46. -- part name: Name
  47.  
  48.  
  49. -- part 3 (field)
  50. -- low flags: 00
  51. -- high flags: 4007
  52. -- rect: left=57 top=70 right=299 bottom=491
  53. -- title width / last selected line: 0
  54. -- icon id / first selected line: 0 / 0
  55. -- text alignment: 0
  56. -- font id: 3
  57. -- text size: 9
  58. -- style flags: 0
  59. -- line height: 12
  60. -- part name: description
  61.  
  62.  
  63. -- part 4 (field)
  64. -- low flags: 01
  65. -- high flags: 0000
  66. -- rect: left=255 top=311 right=327 bottom=282
  67. -- title width / last selected line: 0
  68. -- icon id / first selected line: 0 / 0
  69. -- text alignment: 1
  70. -- font id: 3
  71. -- text size: 12
  72. -- style flags: 0
  73. -- line height: 16
  74. -- part name: PageNumber
  75.  
  76.  
  77. -- part 6 (button)
  78. -- low flags: 00
  79. -- high flags: 2000
  80. -- rect: left=228 top=306 right=331 bottom=255
  81. -- title width / last selected line: 0
  82. -- icon id / first selected line: 1014 / 1014
  83. -- text alignment: 1
  84. -- font id: 0
  85. -- text size: 12
  86. -- style flags: 0
  87. -- line height: 16
  88. -- part name: Prev
  89. ----- HyperTalk script -----
  90. on mouseUp
  91.   if the optionkey is down then pass mouseup
  92.   visual effect wipe right
  93.   go to previous card
  94. end mouseUp
  95.  
  96.  
  97.  
  98. -- part 7 (button)
  99. -- low flags: 00
  100. -- high flags: 2000
  101. -- rect: left=280 top=306 right=331 bottom=307
  102. -- title width / last selected line: 0
  103. -- icon id / first selected line: 1013 / 1013
  104. -- text alignment: 1
  105. -- font id: 0
  106. -- text size: 12
  107. -- style flags: 0
  108. -- line height: 16
  109. -- part name: Next
  110. ----- HyperTalk script -----
  111. on mouseUp
  112.   if the optionkey is down then pass mouseup
  113.   visual effect wipe left
  114.   go to next card
  115. end mouseUp
  116.  
  117.  
  118.  
  119. -- part 10 (button)
  120. -- low flags: 00
  121. -- high flags: 2004
  122. -- rect: left=2 top=74 right=117 bottom=49
  123. -- title width / last selected line: 0
  124. -- icon id / first selected line: 14767 / 14767
  125. -- text alignment: 1
  126. -- font id: 0
  127. -- text size: 12
  128. -- style flags: 0
  129. -- line height: 16
  130. -- part name: About...
  131. ----- HyperTalk script -----
  132. on mouseUp
  133.   if the optionkey is down then pass mouseup
  134.   visual iris open to gray
  135.   visual iris close to black
  136.   visual iris open to gray
  137.   visual iris close
  138.   go background information
  139. end mouseUp
  140.  
  141.  
  142.  
  143. -- part 11 (button)
  144. -- low flags: 00
  145. -- high flags: 2004
  146. -- rect: left=2 top=119 right=162 bottom=49
  147. -- title width / last selected line: 0
  148. -- icon id / first selected line: 29114 / 29114
  149. -- text alignment: 1
  150. -- font id: 0
  151. -- text size: 12
  152. -- style flags: 0
  153. -- line height: 16
  154. -- part name: Back
  155. ----- HyperTalk script -----
  156. on mouseUp
  157.   if the optionkey is down then pass mouseup
  158.   visual barn door close to black
  159.   visual barn door open
  160.   pop card
  161. end mouseUp
  162.  
  163.  
  164.  
  165. -- part 12 (button)
  166. -- low flags: 00
  167. -- high flags: 2004
  168. -- rect: left=2 top=164 right=207 bottom=49
  169. -- title width / last selected line: 0
  170. -- icon id / first selected line: 1011 / 1011
  171. -- text alignment: 1
  172. -- font id: 0
  173. -- text size: 12
  174. -- style flags: 0
  175. -- line height: 16
  176. -- part name: Home
  177. ----- HyperTalk script -----
  178. on mouseUp
  179.   if the optionkey is down then pass mouseup
  180.   go to first card of home
  181. end mouseUp
  182.  
  183.  
  184.  
  185. -- part 13 (button)
  186. -- low flags: 00
  187. -- high flags: 2004
  188. -- rect: left=2 top=209 right=252 bottom=49
  189. -- title width / last selected line: 0
  190. -- icon id / first selected line: 1000 / 1000
  191. -- text alignment: 1
  192. -- font id: 0
  193. -- text size: 12
  194. -- style flags: 0
  195. -- line height: 16
  196. -- part name: Open Stack
  197. ----- HyperTalk script -----
  198. on mouseUp
  199.   if the optionkey is down then pass mouseup
  200.   domenu "open stack..."
  201. end mouseUp
  202.  
  203.  
  204.  
  205. -- part 14 (button)
  206. -- low flags: 00
  207. -- high flags: 2004
  208. -- rect: left=2 top=254 right=297 bottom=49
  209. -- title width / last selected line: 0
  210. -- icon id / first selected line: 17343 / 17343
  211. -- text alignment: 1
  212. -- font id: 0
  213. -- text size: 12
  214. -- style flags: 0
  215. -- line height: 16
  216. -- part name: Launch Application
  217. ----- HyperTalk script -----
  218. on mouseUp
  219.   if the optionkey is down then pass mouseup
  220.   visual venetian blinds to gray
  221.   visual venetian blinds to black
  222.   visual venetian blinds to gray
  223.   visual venetian blinds
  224.  
  225.   go to background "Mini Hyperstation"
  226. end mouseUp
  227.  
  228.  
  229.  
  230. -- part 15 (button)
  231. -- low flags: 00
  232. -- high flags: 2004
  233. -- rect: left=2 top=299 right=342 bottom=49
  234. -- title width / last selected line: 0
  235. -- icon id / first selected line: 21786 / 21786
  236. -- text alignment: 1
  237. -- font id: 0
  238. -- text size: 12
  239. -- style flags: 0
  240. -- line height: 16
  241. -- part name: Menus On
  242. ----- HyperTalk script -----
  243. on mouseUp
  244.   if the optionkey is down then pass mouseup
  245.   If the short name of the target is "Menus On" then
  246.     set the name of the target to "Menus Off"
  247.     show menubar
  248.   else
  249.     set the name of the target to "Menus On"
  250.     hide menubar
  251.   end if
  252. end mouseUp
  253.  
  254.